package com.gec.obwiki.service;

import com.gec.obwiki.domain.dto.EbookQueryReq;
import com.gec.obwiki.domain.pojo.Ebook;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gec.obwiki.domain.vo.EbookQueryResp;
import com.gec.obwiki.domain.vo.PageResp;
import com.gec.obwiki.rep.EbookSaveReq;

import javax.validation.Valid;
import java.util.List;

/**
* @author adim
* @description 针对表【ebook(电子书)】的数据库操作Service
* @createDate 2025-06-23 11:12:38
*/
public interface EbookService extends IService<Ebook> {


    PageResp<EbookQueryResp> listByname(@Valid EbookQueryReq req);

    void save(@Valid EbookSaveReq req);

    void delete(Long id);
}
